<template>
  <component v-if="config" :is="config?.component" v-bind="config?.props">
  </component>
</template>
<script setup>
const props = defineProps({
  config: {
    type: Object,
  }
});
</script>